from tkinter import *
x = int(input())
y = int(input())
n = int(input())
a = [10*n+x,10*n+y, 20*n+x,10*n+y, 20*n+x,20*n+y, 30*n+x,20*n+y, 30*n+x,30*n+y, 20*n+x,30*n+y, 20*n+x,40*n+y, 10*n+x,40*n+y ]
if x>468  or y>457 or n>12 or n<1:
    print("Размер фигуры привышает максимальный размер поля")
root = Tk()
root.title("IT")
root.geometry("500x500")
canvas=Canvas(bg="White", width=500, height=500)
canvas.pack(anchor=CENTER, expand=1)
canvas.create_polygon(a, fill="Black")
root.mainloop()